import request from '@/utils/request'

// 查询护理记录列表
export function listNurseRows(query) {
  return request({
    url: '/workstation/nurseRows/list',
    method: 'get',
    params: query
  })
}

// 查询护理记录详细
export function getNurseRows(id) {
  return request({
    url: '/workstation/nurseRows/' + id,
    method: 'get'
  })
}

// 新增护理记录
export function addNurseRows(data) {
  return request({
    url: '/workstation/nurseRows',
    method: 'post',
    data: data
  })
}

// 修改护理记录
export function updateNurseRows(data) {
  return request({
    url: '/workstation/nurseRows',
    method: 'put',
    data: data
  })
}

// 删除护理记录
export function delNurseRows(id) {
  return request({
    url: '/workstation/nurseRows/' + id,
    method: 'delete'
  })
}
